<?php

if ( ! defined('BASEPATH'))
    exit('No direct script access allowed');
/*
| -------------------------------------------------------------------------
| COMPANIES ROUTES
| -------------------------------------------------------------------------
|
| 
|
| -------------------------------------------------------------------------
*/

// Companies API
$route['api/companies']                      = "cms-companies/company_api";
$route['api/companies/search']               = "cms-companies/company_api/search";
$route['api/companies/search/:any']          = "cms-companies/company_api/search";
$route['api/companies/:any']                 = "cms-companies/company_api";

// Companies CMS
$route['companies']                          = "cms-companies/company";
$route['companies/add']                      = "cms-companies/company/add";
$route['companies/edit']                     = "cms-companies/company/edit";
$route['companies/edit/id/:num']             = "cms-companies/company/edit";
$route['companies/delete/id/:num']           = "cms-companies/company/delete";
$route['companies/preview/id/:num']          = "cms-companies/company/preview";

/* End of file routes.php */
/* Location: ./application/modules/cms-companies/config/routes.php */